package com.yex.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.yex.entity.DynamicEntity;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * 动态奖
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-01-14 15:26:56
 */
public interface DynamicDao extends BaseMapper<DynamicEntity> {

    BigDecimal selectByTotal(@Param("userId") Integer userId,@Param("investmentId")Integer investmentId);
}
